home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-01-04 | 8.7 KB | 210 lines | [TEXT/MSWD] |
- Using Control Characters in your BBS
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-
- by Tom Fernandez
- copyright (c) 1987
- GEnie address..TOMFERNANDEZ
- Primetime BBS...SYSOP
- (815) 965-5606 300/1200/2400 - 24 Hrs.
-
-
-
- 1) About this Document
- ^^^^^^^^^^^^^^^^^^^^^^^
-
- Want to add some additional style to your BBS? Inserting some control
- characters will help. Follows is a description of how to install, remove,
- and in some cases actually "hard code" control characters into your BBS
- software.
-
-
- This file consists of this text, plus 3 other text-files called:
-
- 1) "BELL"
- 2) "FORM-FEED"
- 3) "FORM-FEED & BELL"
-
- If you have already looked inside of the above three with Edit, Mockwrite,
- or a similar editor, you will see that the files contain a small square symbol.
- Actually, what you have seen is an ASCII Control Character, however because of
- font limitations, the character is not displayed as a font, so it defaults to
- the the "" character.
-
-
- 2) Installation of Control Characters
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- Using and installing control characters is very easy in ASCII text-files.
- For example, if you have a "Welcome" screen for your BBS, you can easily use
- the control characters. For example, here is my Welcome screen, with control
- characters inserted.
-
-
-
- |:::::::::::::::::::::::::::::::::::::/\:::::::::::::::::::::::::::::::::::|
- |::::::::::::::::::::::::::::::::::::/ \::::::::::::::::::::::::::::::::::|
- |:::::::::::::::::::::::::::::::::::/ \:::::::::::::::::::::::::::::::::|
- |::::::::::::::::::::::::::::::::::/ /\ \::::::::::::::::::::::::::::::::|
- |:::::::::::::::::::::::::::::::::/ / \ \:::::::::::::::::::::::::::::::|
- |::::::::::::::::::::-----------------------------------:::::::::::::::::::|
- |:::::::::::::::::::| You have Connected to PRIMETIME |::::::::::::::::::|
- |::::::::::::::::::::-----------------------------------:::::::::::::::::::|
- |:::::::::::::::::::::::::::::::::\ \ / /:::::::::::::::::::::::::::::::|
- |::::::::::::::::::::::::::::::::::\ \/ /::::::::::::::::::::::::::::::::|
- |:::::::::::::::::::::::::::::::::::\ /:::::::::::::::::::::::::::::::::|
- |::::::::::::::::::::::::::::::::::::\ /::::::::::::::::::::::::::::::::::|
- |:::::::::::::::::::::::::::::::::::::\/:::::::::::::::::::::::::::::::::::|
- |:::::: ---------------------- ::::::::::::::: ------------------- ::::::::|
- |::::::| MEBBS Beta Test Site |:::::::::::::::| 300/1200/2400 Baud |:::::::|
- |:::::: ---------------------- ::::::::::::::: ------------------- ::::::::|
- |::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
-
- The very first control character you seen is actually a "FORM FEED"
- character. This will clear your callers screen when the character is received
- by the callers terminal program. This allows the Welcome message to completely
- fill the callers screen. The caller dos not seen the control character.
-
- The very last control character is the "BELL" character, and it rings the
- bell on the callers Mac. This just prompts the caller to enter s/his password.
-
- You install these characters by cutting & pasting the desired character(s)
- into your Welcome screens, Text-files, etc.
-
-
- 3) Viewing your results
- ^^^^^^^^^^^^^^^^^^^^^^^
-
- Assuming you have cut & pasted a form-feed and bell into your BBS software,
- you might not be able so see the results on your work in LOCAL mode. I think
- that programs such as Red Ryder HOST & WWIV will let you see the FORM-FEEDS
- work as your caller encounters them in the text. I am unsure if the BELL will
- ring the bell of your Macintosh.
-
- With Mouse Exchange BBS, you will not see the the results of your work. You
- will have to call your BBS from a remote Mac to see your handiwork.
-
- Using FORMFEEDS may require some callers of Red Ryder HOST systems to
- "reset" the way the program clears their screen.
-
- I have not tried control characters with MacMansion and Mac*POWER*Net BBS
- software, but control characters should work with any BBS program, including
- programs for the IBM-PC, Atari, Commodore, TRS-80, etc.
-
-
- 4) Creating Control Characters
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- You can create CONTROL CHARACTERS easily. Here is how you do it.
-
- 4a) Create a NEW document using Edit, Mockwrite, or a similar text-editor.
- 4b) Enter a single <carriage return>, and then SAVE the document.
- 4c) Now using a disk editor such as FEdit or MacSnoop, you will change the
- <carriage return> character into a different ASCII control character.
- 4d) Look at the character as a "HEX" (hexidecimal) character. These are
- some of the default values.
-
- Carriage Return = 0D (ZERO, D)
- BELL = 07 (ZERO, 7)
- FORM-FEED = 0C (ZERO, C)
-
- 4e) Your carriage return will be displayed as a "OD", and it will be the
- first two HEX values displayed. You must perform a HEX change to make
- the "0D" into a character of your choosing. Please refer to an ASCII
- Control Character Chart for information about the different control
- characters that are available. Your modem manual might list the ASCII
- table.
-
-
- 5) Hardcoding Control Characters into software
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- You can also do some tricks with control chatacters by hardcoding them into
- your BBS program. For example, I run Mouse Exchange BBS software, and if a user
- of my board has mail waiting for them to read, the program will ring the users
- bell when they receive the prompt...
-
- "You Have MailWaiting" (Bing!)
-
- The control character is inserted between "Mail" and "Waiting". The user
- never sees the control character, but the bell on their Mac rings once when
- the "You Have MailWaiting" prompt is shown to them.
-
- You can insert control characters into any "blank" space between word
- strings and sentences in your BBS software. Locate the ASCII sentance or string
- you wish to modify, then HEX modify the blank space to a BELL, FORM-FEED, etc.
-
- If your BBS program as an annoying Copyright message, you can insert the
- FORM-FEED character at the beginning and at the end of the copyright message.
- You cannot legally remove the copyright notice, but you can make it display for
- a very short period of time by using FORM-FEEDS. The notice will flash on the
- screen for a very brief instant.
-
- MEBBS uses many ASCII text-files, especially for Menus, Help FIles, and
- for the News and FIle Directories. Very little hardcoding is required for
- a MEBBS. Red Ryder HOST has many different areas that can be internally coded
- for BELLS & FORM-FEEDS. You can also enter FORM-FEEDS as the first character
- of your Menu Description (the first three lines) to clear the users screen
- so that your menu is the only item displayed.
-
-
- 6) Other uses of Control Characters
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- Remember that control characters can be used in ASCII Text, so you can
- also liven up your messages/mail & news topics. Next time you call a BBS you
- might want to first copy some control characters into your clipboard and try
- adding some "Bells & Whistles" to any Mail or News you post. It drives just
- about everybody else crazy trying figure out how you are doing it. For use
- with News messages, you will probably want to create a "LINE FEED" character
- and use it in place of a FORM-FEED. Insert the character between each letter
- of your name and see what the results are by reading the message you have just
- posted.
-
-
-
-
- 7) Disclaimers & Legal Crapola
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- This information is provided "as-is". No guarantee is made or offered as
- to the suitability of the concepts and ideas outlined above.
-
- You agree that any and all risks associated with the use of the ideas or
- concepts contained herein are assumed by YOU, and YOU alone. You also agree
- that any legal disputes that may arise from the use or mis-use of the ideas and
- information herein are deeded in occur in the State of Illinois, and County of
- Winnebago.
-
- (I dislike the above two paragraphs, but I really dislike lititgation.)
-
-
-
- 8) Distribution
- ^^^^^^^^^^^^^^^^
-
- 8a) This file may be uploaded to any public Bulletin Board Systems.
-
- 8b) This file may not be uploaded to "Compuserve" or any services or
- firms owned by Compuserve.
-
- 8c) This file is FREE...No charge may be made for distribution of it.
-
-
-
- 9) Errata
- ^^^^^^^^^^
-
- Thanks to Ralph Yount, Sysop of MacInternational (803) 957-6870 for information
- about Control Characters.
-
- Be sure to work on a copy of any software you attemt to modify. Using a disk
- editor is alot of fun, but it is easy to go too far and render your program
- useless. Be safe, work on a copiy!
-
- Have you backed up your Hard Disk today?
-
-
-
-